package cn.cstech.aijia.ui.my;

import android.os.Bundle;
import android.view.View;
import android.widget.ListView;

import java.util.ArrayList;
import java.util.List;

import cn.cstech.aijia.R;
import cn.cstech.aijia.ui.adapter.SystemMsgAdapter;
import cn.cstech.aijia.ui.base.BaseActivity;

/**
 * Created by xi on 15/9/12.
 * 系统消息
 */
public class SystemMsgActivity extends BaseActivity {

    private ListView listView;

    private List<String> list;
    private SystemMsgAdapter adapter;

    @Override
    protected void onCreate(Bundle arg0) {
        super.onCreate(arg0);
        setContentView(R.layout.ac_system_msg);

        listView  = (ListView) findViewById(R.id.listView);
        list = new ArrayList<String>();
        list.add("");
        adapter = new SystemMsgAdapter(this,list);
        listView.setAdapter(adapter);
    }

    @Override
    protected void onTitleBarCreate() {
        super.onTitleBarCreate();
        setTitleText("系统消息");

        setLeftImageView(R.drawable.arrow_back, new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

    }
}
